package com.htwy.youPu.controller;


import com.htwy.ext.BaseController;
import com.htwy.youPu.bean.Chpgl;
import java.util.Date;

public class ChpglController extends BaseController<Chpgl> {

    @Override
    protected Chpgl dao() {
        return Chpgl.dao;
    }

    public void index() {
        renderTemplate("chpgl.html");
    }

    @Override
    public boolean afterSave(Chpgl entity) {
        entity.setGxshj(new Date());
        entity.update();
        return true;
    }
}